package shuzu;

import java.util.Arrays;

public class ShuZu_1 {
    public static void main(String[] args) {
        int[] arr = new int[]{1,2,3};
        for (int n : arr) {
            System.out.println(n);
        }
        System.out.println(Arrays.toString(arr));
        for (int i = 0;i < arr.length;i++) {
            arr[i] *= 2;
        }
        System.out.println(Arrays.toString(arr));
    }
}
